<!DOCTYPE html>
<html lang="en">
  <head>
    <title>InfallibleType Protocol Reference</title>
    <link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="../css/highlight.css" />
    <meta charset="utf-8">
    <script src="../js/jquery.min.js" defer></script>
    <script src="../js/jazzy.js" defer></script>
    
    <script src="../js/lunr.min.js" defer></script>
    <script src="../js/typeahead.jquery.js" defer></script>
    <script src="../js/jazzy.search.js" defer></script>
  </head>
  <body>

    <a name="//apple_ref/swift/Protocol/InfallibleType" class="dashAnchor"></a>

    <a title="InfallibleType Protocol Reference"></a>

    <header class="header">
      <p class="header-col header-col--primary">
        <a class="header-link" href="../index.html">
          RxSwift 6.5.0 Docs
        </a>
         (96% documented)
      </p>
    
      <div class="header-col--secondary">
        <form role="search" action="../search.json">
          <input type="text" placeholder="Search documentation" data-typeahead>
        </form>
      </div>
    
        <p class="header-col header-col--secondary">
          <a class="header-link" href="https://github.com/ReactiveX/RxSwift">
            <img class="header-icon" src="../img/gh.png" alt="GitHub"/>
            View on GitHub
          </a>
        </p>
    
    </header>

    <p class="breadcrumbs">
      <a class="breadcrumb" href="../index.html">RxSwift Reference</a>
      <img class="carat" src="../img/carat.png" alt=""/>
      InfallibleType Protocol Reference
    </p>

    <div class="content-wrapper">
      <nav class="navigation">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../RxSwift.html">RxSwift</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/AnyObserver.html">AnyObserver</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/Binder.html">Binder</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Protocols/Cancelable.html">Cancelable</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Protocols/ConnectableObservableType.html">ConnectableObservableType</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Protocols/Disposable.html">Disposable</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Enums/Event.html">Event</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/GroupedObservable.html">GroupedObservable</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Protocols/ImmediateSchedulerType.html">ImmediateSchedulerType</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/Observable.html">Observable</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Protocols/ObservableConvertibleType.html">ObservableConvertibleType</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Protocols/ObservableType.html">ObservableType</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Protocols/ObserverType.html">ObserverType</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/Reactive.html">Reactive</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Protocols/SchedulerType.html">SchedulerType</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../RxSwift%2FDisposables.html">RxSwift/Disposables</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/BooleanDisposable.html">BooleanDisposable</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/CompositeDisposable.html">CompositeDisposable</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/CompositeDisposable.html#/s:7RxSwift19CompositeDisposableC10DisposeKeyV">– DisposeKey</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/Disposables.html">Disposables</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/DisposeBag.html">DisposeBag</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/DisposeBag/DisposableBuilder.html">– DisposableBuilder</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/DisposeBag/DisposableBuilder.html">– DisposableBuilder</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../RxSwift%2FDisposables.html#/s:7RxSwift11DisposeBaseC">DisposeBase</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/RefCountDisposable.html">RefCountDisposable</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/ScheduledDisposable.html">ScheduledDisposable</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/SerialDisposable.html">SerialDisposable</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/SingleAssignmentDisposable.html">SingleAssignmentDisposable</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../RxSwift%2FSchedulers.html">RxSwift/Schedulers</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/ConcurrentDispatchQueueScheduler.html">ConcurrentDispatchQueueScheduler</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/ConcurrentMainScheduler.html">ConcurrentMainScheduler</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/CurrentThreadScheduler.html">CurrentThreadScheduler</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/HistoricalScheduler.html">HistoricalScheduler</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/HistoricalSchedulerTimeConverter.html">HistoricalSchedulerTimeConverter</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/MainScheduler.html">MainScheduler</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/OperationQueueScheduler.html">OperationQueueScheduler</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/SerialDispatchQueueScheduler.html">SerialDispatchQueueScheduler</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Protocols/VirtualTimeConverterType.html">VirtualTimeConverterType</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/VirtualTimeScheduler.html">VirtualTimeScheduler</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../RxSwift%2FSubjects.html">RxSwift/Subjects</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/AsyncSubject.html">AsyncSubject</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/BehaviorSubject.html">BehaviorSubject</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/PublishSubject.html">PublishSubject</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/ReplaySubject.html">ReplaySubject</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Protocols/SubjectType.html">SubjectType</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../RxSwift%2FTraits%2FInfallible.html">RxSwift/Traits/Infallible</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/Infallible.html">Infallible</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../RxSwift%2FTraits%2FPrimitiveSequence.html">RxSwift/Traits/PrimitiveSequence</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../RxSwift%2FTraits%2FPrimitiveSequence.html#/s:7RxSwift11Completablea">Completable</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../RxSwift%2FTraits%2FPrimitiveSequence.html#/s:7RxSwift5Maybea">Maybe</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/PrimitiveSequence.html">PrimitiveSequence</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../RxSwift%2FTraits%2FPrimitiveSequence.html#/s:7RxSwift6Singlea">Single</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../Other%20Classes.html">Other Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/ConnectableObservable.html">ConnectableObservable</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../Other%20Global%20Variables.html">Other Global Variables</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Other%20Global%20Variables.html#/s:7RxSwift29maxTailRecursiveSinkStackSizeSivp">maxTailRecursiveSinkStackSize</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../Other%20Enums.html">Other Enumerations</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Enums/CompletableEvent.html">CompletableEvent</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Other%20Enums.html#/s:7RxSwift16CompletableTraitO">CompletableTrait</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Enums/Hooks.html">Hooks</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Enums/InfallibleEvent.html">InfallibleEvent</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Enums/MaybeEvent.html">MaybeEvent</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Other%20Enums.html#/s:7RxSwift10MaybeTraitO">MaybeTrait</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Enums/RxError.html">RxError</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Other%20Enums.html#/s:7RxSwift11SingleTraitO">SingleTrait</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Enums/SubjectLifetimeScope.html">SubjectLifetimeScope</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Enums/TakeBehavior.html">TakeBehavior</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Enums/VirtualTimeComparison.html">VirtualTimeComparison</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../Other%20Extensions.html">Other Extensions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Extensions/AsyncSequence.html">AsyncSequence</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Other%20Extensions.html#/s:10Foundation11JSONDecoderC">JSONDecoder</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Other%20Extensions.html#/c:objc(cs)NSObject">NSObject</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Other%20Extensions.html#/s:10Foundation19PropertyListDecoderC">PropertyListDecoder</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../Other%20Protocols.html">Other Protocols</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Protocols/DataDecoder.html">DataDecoder</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Protocols/EventConvertible.html">EventConvertible</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Protocols/InfallibleType.html">InfallibleType</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Protocols/PrimitiveSequenceType.html">PrimitiveSequenceType</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Protocols/ReactiveCompatible.html">ReactiveCompatible</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../Other%20Structs.html">Other Structures</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Structs/Resources.html">Resources</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../Other%20Typealiases.html">Other Type Aliases</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Other%20Typealiases.html#/s:7RxSwift0A15AbstractIntegera">RxAbstractInteger</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Other%20Typealiases.html#/s:7RxSwift0A4Timea">RxTime</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Other%20Typealiases.html#/s:7RxSwift0A12TimeIntervala">RxTimeInterval</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Other%20Typealiases.html#/s:7RxSwift11SingleEventa">SingleEvent</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">

        <section class="section">
          <div class="section-content top-matter">
            <h1>InfallibleType</h1>
              <div class="declaration">
                <div class="language">
                  
                  <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">InfallibleType</span> <span class="p">:</span> <span class="kt"><a href="../Protocols/ObservableConvertibleType.html">ObservableConvertibleType</a></span></code></pre>

                </div>
              </div>
            <p><code><a href="../Structs/Infallible.html">Infallible</a></code> is an <code><a href="../Classes/Observable.html">Observable</a></code>-like push-style interface
which is guaranteed to not emit error events.</p>

<p>Unlike <code>SharedSequence</code>, it does not share its resources or
replay its events, but acts as a standard <code><a href="../Classes/Observable.html">Observable</a></code>.</p>

          </div>
        </section>

        <section class="section">
          <div class="section-content">
            <div class="task-group">
              <div class="task-name-container">
                <a name="/Infallible"></a>
                <a name="//apple_ref/swift/Section/Infallible" class="dashAnchor"></a>
                <div class="section-name-container">
                  <a class="section-name-link" href="#/Infallible"></a>
                  <h3 class="section-name"><span>Infallible</span>
</h3>
                </div>
              </div>
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE6valuesScSy7ElementQzGvp"></a>
                    <a name="//apple_ref/swift/Property/values" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE6valuesScSy7ElementQzGvp">values</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Allows iterating over the values of an Infallible
asynchronously via Swift&rsquo;s concurrency features (<code>async/await</code>)</p>

<p>A sample usage would look like so:</p>
<pre class="highlight swift"><code><span class="k">for</span> <span class="k">await</span> <span class="n">value</span> <span class="k">in</span> <span class="n">observable</span><span class="o">.</span><span class="n">values</span> <span class="p">{</span>
    <span class="c1">// Handle emitted values</span>
<span class="p">}</span>
</code></pre>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">var</span> <span class="nv">values</span><span class="p">:</span> <span class="kt">AsyncStream</span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <div class="task-name-container">
                <a name="/Static%20allocation"></a>
                <a name="//apple_ref/swift/Section/Static allocation" class="dashAnchor"></a>
                <div class="section-name-container">
                  <a class="section-name-link" href="#/Static%20allocation"></a>
                  <h3 class="section-name"><span>Static allocation</span>
</h3>
                </div>
              </div>
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE4justyAA0C0Vy7ElementQzGAHFZ"></a>
                    <a name="//apple_ref/swift/Method/just(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE4justyAA0C0Vy7ElementQzGAHFZ">just(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns an infallible sequence that contains a single element.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/just.html">just operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="nf">just</span><span class="p">(</span><span class="n">_</span> <span class="nv">element</span><span class="p">:</span> <span class="kt">Element</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>element</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Single element in the resulting infallible sequence.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An infallible sequence containing the single specified element.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE4just_9schedulerAA0C0Vy7ElementQzGAI_AA018ImmediateSchedulerD0_ptFZ"></a>
                    <a name="//apple_ref/swift/Method/just(_:scheduler:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE4just_9schedulerAA0C0Vy7ElementQzGAI_AA018ImmediateSchedulerD0_ptFZ">just(_:<wbr>scheduler:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns an infallible sequence that contains a single element.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/just.html">just operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="nf">just</span><span class="p">(</span><span class="n">_</span> <span class="nv">element</span><span class="p">:</span> <span class="kt">Element</span><span class="p">,</span> <span class="nv">scheduler</span><span class="p">:</span> <span class="kt"><a href="../Protocols/ImmediateSchedulerType.html">ImmediateSchedulerType</a></span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>element</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Single element in the resulting infallible sequence.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>scheduler</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Scheduler to send the single element on.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An infallible sequence containing the single specified element.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE5neverAA0C0Vy7ElementQzGyFZ"></a>
                    <a name="//apple_ref/swift/Method/never()" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE5neverAA0C0Vy7ElementQzGyFZ">never()</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns a non-terminating infallible sequence, which can be used to denote an infinite duration.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/empty-never-throw.html">never operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="nf">never</span><span class="p">()</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An infallible sequence whose observers will never get called.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE5emptyAA0C0Vy7ElementQzGyFZ"></a>
                    <a name="//apple_ref/swift/Method/empty()" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE5emptyAA0C0Vy7ElementQzGyFZ">empty()</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns an empty infallible sequence, using the specified scheduler to send out the single <code>Completed</code> message.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/empty-never-throw.html">empty operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="nf">empty</span><span class="p">()</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An infallible sequence with no elements.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE8deferredyAA0C0Vy7ElementQzGAIyKcFZ"></a>
                    <a name="//apple_ref/swift/Method/deferred(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE8deferredyAA0C0Vy7ElementQzGAIyKcFZ">deferred(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns an infallible sequence that invokes the specified factory function whenever a new observer subscribes.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/defer.html">defer operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="nf">deferred</span><span class="p">(</span><span class="n">_</span> <span class="nv">observableFactory</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">()</span> <span class="k">throws</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>observableFactory</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Observable factory function to invoke for each observer that subscribes to the resulting sequence.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence whose observers trigger an invocation of the given observable factory function.</p>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <div class="task-name-container">
                <a name="/Filter"></a>
                <a name="//apple_ref/swift/Section/Filter" class="dashAnchor"></a>
                <div class="section-name-container">
                  <a class="section-name-link" href="#/Filter"></a>
                  <h3 class="section-name"><span>Filter</span>
</h3>
                </div>
              </div>
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE6filteryAA0C0Vy7ElementQzGSbAHcF"></a>
                    <a name="//apple_ref/swift/Method/filter(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE6filteryAA0C0Vy7ElementQzGSbAHcF">filter(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Filters the elements of an observable sequence based on a predicate.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/filter.html">filter operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">filter</span><span class="p">(</span><span class="n">_</span> <span class="nv">predicate</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">Element</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Bool</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>predicate</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>A function to test each source element for a condition.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence that contains elements from the input sequence that satisfy the condition.</p>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <div class="task-name-container">
                <a name="/Map"></a>
                <a name="//apple_ref/swift/Section/Map" class="dashAnchor"></a>
                <div class="section-name-container">
                  <a class="section-name-link" href="#/Map"></a>
                  <h3 class="section-name"><span>Map</span>
</h3>
                </div>
              </div>
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE3mapyAA0C0Vyqd__Gqd__7ElementQzclF"></a>
                    <a name="//apple_ref/swift/Method/map(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE3mapyAA0C0Vyqd__Gqd__7ElementQzclF">map(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Projects each element of an observable sequence into a new form.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/map.html">map operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">map</span><span class="o">&lt;</span><span class="kt">Result</span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">transform</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">Element</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Result</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Result</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>transform</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>A transform function to apply to each source element.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence whose elements are the result of invoking the transform function on each element of source.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE10compactMapyAA0C0Vyqd__Gqd__Sg7ElementQzclF"></a>
                    <a name="//apple_ref/swift/Method/compactMap(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE10compactMapyAA0C0Vyqd__Gqd__Sg7ElementQzclF">compactMap(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Projects each element of an observable sequence into an optional form and filters all optional results.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">compactMap</span><span class="o">&lt;</span><span class="kt">Result</span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">transform</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">Element</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Result</span><span class="p">?)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Result</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>transform</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>A transform function to apply to each source element and which returns an element or nil.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence whose elements are the result of filtering the transform function for each element of the source.</p>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <div class="task-name-container">
                <a name="/Distinct"></a>
                <a name="//apple_ref/swift/Section/Distinct" class="dashAnchor"></a>
                <div class="section-name-container">
                  <a class="section-name-link" href="#/Distinct"></a>
                  <h3 class="section-name"><span>Distinct</span>
</h3>
                </div>
              </div>
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE20distinctUntilChangedyAA0C0Vy7ElementQzGqd__AHKcSQRd__lF"></a>
                    <a name="//apple_ref/swift/Method/distinctUntilChanged(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE20distinctUntilChangedyAA0C0Vy7ElementQzGqd__AHKcSQRd__lF">distinctUntilChanged(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns an observable sequence that contains only distinct contiguous elements according to the <code>keySelector</code>.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/distinct.html">distinct operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">distinctUntilChanged</span><span class="o">&lt;</span><span class="kt">Key</span><span class="p">:</span> <span class="kt">Equatable</span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">keySelector</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">Element</span><span class="p">)</span> <span class="k">throws</span> <span class="o">-&gt;</span> <span class="kt">Key</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>keySelector</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>A function to compute the comparison key for each element.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence only containing the distinct contiguous elements, based on a computed key value, from the source sequence.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE20distinctUntilChangedyAA0C0Vy7ElementQzGSbAH_AHtKcF"></a>
                    <a name="//apple_ref/swift/Method/distinctUntilChanged(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE20distinctUntilChangedyAA0C0Vy7ElementQzGSbAH_AHtKcF">distinctUntilChanged(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns an observable sequence that contains only distinct contiguous elements according to the <code>comparer</code>.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/distinct.html">distinct operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">distinctUntilChanged</span><span class="p">(</span><span class="n">_</span> <span class="nv">comparer</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">Element</span><span class="p">,</span> <span class="kt">Element</span><span class="p">)</span> <span class="k">throws</span> <span class="o">-&gt;</span> <span class="kt">Bool</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>comparer</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Equality comparer for computed key values.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence only containing the distinct contiguous elements, based on <code>comparer</code>, from the source sequence.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE20distinctUntilChanged_8comparerAA0C0Vy7ElementQzGqd__AIKc_Sbqd___qd__tKctlF"></a>
                    <a name="//apple_ref/swift/Method/distinctUntilChanged(_:comparer:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE20distinctUntilChanged_8comparerAA0C0Vy7ElementQzGqd__AIKc_Sbqd___qd__tKctlF">distinctUntilChanged(_:<wbr>comparer:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns an observable sequence that contains only distinct contiguous elements according to the keySelector and the comparer.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/distinct.html">distinct operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">distinctUntilChanged</span><span class="o">&lt;</span><span class="kt">K</span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">keySelector</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">Element</span><span class="p">)</span> <span class="k">throws</span> <span class="o">-&gt;</span> <span class="kt">K</span><span class="p">,</span> <span class="nv">comparer</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">K</span><span class="p">,</span> <span class="kt">K</span><span class="p">)</span> <span class="k">throws</span> <span class="o">-&gt;</span> <span class="kt">Bool</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>keySelector</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>A function to compute the comparison key for each element.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>comparer</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Equality comparer for computed key values.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence only containing the distinct contiguous elements, based on a computed key value and the comparer, from the source sequence.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE20distinctUntilChanged2atAA0C0Vy7ElementQzGs7KeyPathCyAIqd__G_tSQRd__lF"></a>
                    <a name="//apple_ref/swift/Method/distinctUntilChanged(at:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE20distinctUntilChanged2atAA0C0Vy7ElementQzGs7KeyPathCyAIqd__G_tSQRd__lF">distinctUntilChanged(at:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns an observable sequence that contains only contiguous elements with distinct values in the provided key path on each object.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/distinct.html">distinct operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">distinctUntilChanged</span><span class="o">&lt;</span><span class="kt">Property</span><span class="p">:</span> <span class="kt">Equatable</span><span class="o">&gt;</span><span class="p">(</span><span class="n">at</span> <span class="nv">keyPath</span><span class="p">:</span> <span class="kt">KeyPath</span><span class="o">&lt;</span><span class="kt">Element</span><span class="p">,</span> <span class="kt">Property</span><span class="o">&gt;</span><span class="p">)</span> <span class="o">-&gt;</span>
    <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence only containing the distinct contiguous elements, based on equality operator on the provided key path</p>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <div class="task-name-container">
                <a name="/Throttle"></a>
                <a name="//apple_ref/swift/Section/Throttle" class="dashAnchor"></a>
                <div class="section-name-container">
                  <a class="section-name-link" href="#/Throttle"></a>
                  <h3 class="section-name"><span>Throttle</span>
</h3>
                </div>
              </div>
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE8debounce_9schedulerAA0C0Vy7ElementQzG8Dispatch0H12TimeIntervalO_AA09SchedulerD0_ptF"></a>
                    <a name="//apple_ref/swift/Method/debounce(_:scheduler:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE8debounce_9schedulerAA0C0Vy7ElementQzG8Dispatch0H12TimeIntervalO_AA09SchedulerD0_ptF">debounce(_:<wbr>scheduler:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Ignores elements from an observable sequence which are followed by another element within a specified relative time duration, using the specified scheduler to run throttling timers.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/debounce.html">debounce operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">debounce</span><span class="p">(</span><span class="n">_</span> <span class="nv">dueTime</span><span class="p">:</span> <span class="kt"><a href="../Other%20Typealiases.html#/s:7RxSwift0A12TimeIntervala">RxTimeInterval</a></span><span class="p">,</span> <span class="nv">scheduler</span><span class="p">:</span> <span class="kt"><a href="../Protocols/SchedulerType.html">SchedulerType</a></span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>dueTime</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Throttling duration for each element.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>scheduler</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Scheduler to run the throttle timers on.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>The throttled sequence.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE8throttle_6latest9schedulerAA0C0Vy7ElementQzG8Dispatch0I12TimeIntervalO_SbAA09SchedulerD0_ptF"></a>
                    <a name="//apple_ref/swift/Method/throttle(_:latest:scheduler:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE8throttle_6latest9schedulerAA0C0Vy7ElementQzG8Dispatch0I12TimeIntervalO_SbAA09SchedulerD0_ptF">throttle(_:<wbr>latest:<wbr>scheduler:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns an Observable that emits the first and the latest item emitted by the source Observable during sequential time windows of a specified duration.</p>

<p>This operator makes sure that no two elements are emitted in less then dueTime.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/debounce.html">debounce operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">throttle</span><span class="p">(</span><span class="n">_</span> <span class="nv">dueTime</span><span class="p">:</span> <span class="kt"><a href="../Other%20Typealiases.html#/s:7RxSwift0A12TimeIntervala">RxTimeInterval</a></span><span class="p">,</span> <span class="nv">latest</span><span class="p">:</span> <span class="kt">Bool</span> <span class="o">=</span> <span class="kc">true</span><span class="p">,</span> <span class="nv">scheduler</span><span class="p">:</span> <span class="kt"><a href="../Protocols/SchedulerType.html">SchedulerType</a></span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>dueTime</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Throttling duration for each element.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>latest</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Should latest element received in a dueTime wide time window since last element emission be emitted.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>scheduler</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Scheduler to run the throttle timers on.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>The throttled sequence.</p>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <div class="task-name-container">
                <a name="/FlatMap"></a>
                <a name="//apple_ref/swift/Section/FlatMap" class="dashAnchor"></a>
                <div class="section-name-container">
                  <a class="section-name-link" href="#/FlatMap"></a>
                  <h3 class="section-name"><span>FlatMap</span>
</h3>
                </div>
              </div>
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE7flatMapyAA0C0Vy7ElementQyd__Gqd__AGQzcAA021ObservableConvertibleD0Rd__lF"></a>
                    <a name="//apple_ref/swift/Method/flatMap(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE7flatMapyAA0C0Vy7ElementQyd__Gqd__AGQzcAA021ObservableConvertibleD0Rd__lF">flatMap(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Projects each element of an observable sequence to an observable sequence and merges the resulting observable sequences into one observable sequence.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/flatmap.html">flatMap operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">flatMap</span><span class="o">&lt;</span><span class="kt">Source</span><span class="p">:</span> <span class="kt"><a href="../Protocols/ObservableConvertibleType.html">ObservableConvertibleType</a></span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">selector</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">Element</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Source</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Source</span><span class="o">.</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>selector</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>A transform function to apply to each element.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE13flatMapLatestyAA0C0Vy7ElementQyd__Gqd__AGQzcAA021ObservableConvertibleD0Rd__lF"></a>
                    <a name="//apple_ref/swift/Method/flatMapLatest(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE13flatMapLatestyAA0C0Vy7ElementQyd__Gqd__AGQzcAA021ObservableConvertibleD0Rd__lF">flatMapLatest(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Projects each element of an observable sequence into a new sequence of observable sequences and then
transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.</p>

<p>It is a combination of <code>map</code> + <code>switchLatest</code> operator</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/flatmap.html">flatMapLatest operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">flatMapLatest</span><span class="o">&lt;</span><span class="kt">Source</span><span class="p">:</span> <span class="kt"><a href="../Protocols/ObservableConvertibleType.html">ObservableConvertibleType</a></span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">selector</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">Element</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Source</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Source</span><span class="o">.</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>selector</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>A transform function to apply to each element.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence whose elements are the result of invoking the transform function on each element of source producing an
Observable of Observable sequences and that at any point in time produces the elements of the most recent inner observable sequence that has been received.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE12flatMapFirstyAA0C0Vy7ElementQyd__Gqd__AGQzcAA021ObservableConvertibleD0Rd__lF"></a>
                    <a name="//apple_ref/swift/Method/flatMapFirst(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE12flatMapFirstyAA0C0Vy7ElementQyd__Gqd__AGQzcAA021ObservableConvertibleD0Rd__lF">flatMapFirst(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Projects each element of an observable sequence to an observable sequence and merges the resulting observable sequences into one observable sequence.
If element is received while there is some projected observable sequence being merged it will simply be ignored.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/flatmap.html">flatMapFirst operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">flatMapFirst</span><span class="o">&lt;</span><span class="kt">Source</span><span class="p">:</span> <span class="kt"><a href="../Protocols/ObservableConvertibleType.html">ObservableConvertibleType</a></span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">selector</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">Element</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Source</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Source</span><span class="o">.</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>selector</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>A transform function to apply to element that was observed while no observable is executing in parallel.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence that was received while no other sequence was being calculated.</p>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <div class="task-name-container">
                <a name="/Concat"></a>
                <a name="//apple_ref/swift/Section/Concat" class="dashAnchor"></a>
                <div class="section-name-container">
                  <a class="section-name-link" href="#/Concat"></a>
                  <h3 class="section-name"><span>Concat</span>
</h3>
                </div>
              </div>
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE6concatyAA0C0Vy7ElementQzGqd__AA021ObservableConvertibleD0Rd__AGQyd__AHRSlF"></a>
                    <a name="//apple_ref/swift/Method/concat(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE6concatyAA0C0Vy7ElementQzGqd__AA021ObservableConvertibleD0Rd__AGQyd__AHRSlF">concat(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Concatenates the second observable sequence to <code>self</code> upon successful termination of <code>self</code>.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/concat.html">concat operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">concat</span><span class="o">&lt;</span><span class="kt">Source</span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">second</span><span class="p">:</span> <span class="kt">Source</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span> <span class="k">where</span> <span class="kt">Source</span> <span class="p">:</span> <span class="kt"><a href="../Protocols/ObservableConvertibleType.html">ObservableConvertibleType</a></span><span class="p">,</span> <span class="k">Self</span><span class="o">.</span><span class="kt">Element</span> <span class="o">==</span> <span class="kt">Source</span><span class="o">.</span><span class="kt">Element</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>second</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Second observable sequence.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence that contains the elements of <code>self</code>, followed by those of the second sequence.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE6concatyAA0C0Vy7ElementQzGqd__STRd__AiGRtd__lFZ"></a>
                    <a name="//apple_ref/swift/Method/concat(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE6concatyAA0C0Vy7ElementQzGqd__STRd__AiGRtd__lFZ">concat(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Concatenates all observable sequences in the given sequence, as long as the previous observable sequence terminated successfully.</p>

<p>This operator has tail recursive optimizations that will prevent stack overflow.</p>

<p>Optimizations will be performed in cases equivalent to following:</p>

<p>[1, [2, [3, &hellip;..].concat()].concat].concat()</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/concat.html">concat operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="n">concat</span><span class="o">&lt;</span><span class="kt">Sequence</span><span class="p">:</span> <span class="kt">Swift</span><span class="o">.</span><span class="kt">Sequence</span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">sequence</span><span class="p">:</span> <span class="kt">Sequence</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span>
    <span class="k">where</span> <span class="kt">Sequence</span><span class="o">.</span><span class="kt">Element</span> <span class="o">==</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence that contains the elements of each given sequence, in sequential order.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE6concatyAA0C0Vy7ElementQzGqd__SlRd__AiGRtd__lFZ"></a>
                    <a name="//apple_ref/swift/Method/concat(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE6concatyAA0C0Vy7ElementQzGqd__SlRd__AiGRtd__lFZ">concat(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Concatenates all observable sequences in the given collection, as long as the previous observable sequence terminated successfully.</p>

<p>This operator has tail recursive optimizations that will prevent stack overflow.</p>

<p>Optimizations will be performed in cases equivalent to following:</p>

<p>[1, [2, [3, &hellip;..].concat()].concat].concat()</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/concat.html">concat operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="n">concat</span><span class="o">&lt;</span><span class="kt">Collection</span><span class="p">:</span> <span class="kt">Swift</span><span class="o">.</span><span class="kt">Collection</span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">collection</span><span class="p">:</span> <span class="kt">Collection</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span>
    <span class="k">where</span> <span class="kt">Collection</span><span class="o">.</span><span class="kt">Element</span> <span class="o">==</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence that contains the elements of each given sequence, in sequential order.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE6concatyAA0C0Vy7ElementQzGAId_tFZ"></a>
                    <a name="//apple_ref/swift/Method/concat(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE6concatyAA0C0Vy7ElementQzGAId_tFZ">concat(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Concatenates all observable sequences in the given collection, as long as the previous observable sequence terminated successfully.</p>

<p>This operator has tail recursive optimizations that will prevent stack overflow.</p>

<p>Optimizations will be performed in cases equivalent to following:</p>

<p>[1, [2, [3, &hellip;..].concat()].concat].concat()</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/concat.html">concat operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="nf">concat</span><span class="p">(</span><span class="n">_</span> <span class="nv">sources</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;...</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence that contains the elements of each given sequence, in sequential order.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE9concatMapyAA0C0Vy7ElementQyd__Gqd__AGQzcAA021ObservableConvertibleD0Rd__lF"></a>
                    <a name="//apple_ref/swift/Method/concatMap(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE9concatMapyAA0C0Vy7ElementQyd__Gqd__AGQzcAA021ObservableConvertibleD0Rd__lF">concatMap(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Projects each element of an observable sequence to an observable sequence and concatenates the resulting observable sequences into one observable sequence.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/concat.html">concat operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">concatMap</span><span class="o">&lt;</span><span class="kt">Source</span><span class="p">:</span> <span class="kt"><a href="../Protocols/ObservableConvertibleType.html">ObservableConvertibleType</a></span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">selector</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">Element</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Source</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Source</span><span class="o">.</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence that contains the elements of each observed inner sequence, in sequential order.</p>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <div class="task-name-container">
                <a name="/Merge"></a>
                <a name="//apple_ref/swift/Section/Merge" class="dashAnchor"></a>
                <div class="section-name-container">
                  <a class="section-name-link" href="#/Merge"></a>
                  <h3 class="section-name"><span>Merge</span>
</h3>
                </div>
              </div>
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE5mergeyAA0C0Vy7ElementQzGqd__SlRd__AiGRtd__lFZ"></a>
                    <a name="//apple_ref/swift/Method/merge(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE5mergeyAA0C0Vy7ElementQzGqd__SlRd__AiGRtd__lFZ">merge(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Merges elements from all observable sequences from collection into a single observable sequence.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/merge.html">merge operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="n">merge</span><span class="o">&lt;</span><span class="kt">Collection</span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">sources</span><span class="p">:</span> <span class="kt">Collection</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span> <span class="k">where</span> <span class="kt">Collection</span> <span class="p">:</span> <span class="kt">Collection</span><span class="p">,</span> <span class="kt">Collection</span><span class="o">.</span><span class="kt">Element</span> <span class="o">==</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="k">Self</span><span class="o">.</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>sources</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Collection of observable sequences to merge.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>The observable sequence that merges the elements of the observable sequences.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE5mergeyAA0C0Vy7ElementQzGSayAIGFZ"></a>
                    <a name="//apple_ref/swift/Method/merge(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE5mergeyAA0C0Vy7ElementQzGSayAIGFZ">merge(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Merges elements from all infallible sequences from array into a single infallible sequence.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/merge.html">merge operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="nf">merge</span><span class="p">(</span><span class="n">_</span> <span class="nv">sources</span><span class="p">:</span> <span class="p">[</span><span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span><span class="p">])</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>sources</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Array of infallible sequences to merge.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>The infallible sequence that merges the elements of the infallible sequences.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE5mergeyAA0C0Vy7ElementQzGAId_tFZ"></a>
                    <a name="//apple_ref/swift/Method/merge(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE5mergeyAA0C0Vy7ElementQzGAId_tFZ">merge(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Merges elements from all infallible sequences into a single infallible sequence.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/merge.html">merge operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="nf">merge</span><span class="p">(</span><span class="n">_</span> <span class="nv">sources</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;...</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>sources</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Collection of infallible sequences to merge.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>The infallible sequence that merges the elements of the infallible sequences.</p>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <div class="task-name-container">
                <a name="/Scan"></a>
                <a name="//apple_ref/swift/Section/Scan" class="dashAnchor"></a>
                <div class="section-name-container">
                  <a class="section-name-link" href="#/Scan"></a>
                  <h3 class="section-name"><span>Scan</span>
</h3>
                </div>
              </div>
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE4scan4into11accumulatorAA0C0Vyqd__Gqd___yqd__z_7ElementQztctlF"></a>
                    <a name="//apple_ref/swift/Method/scan(into:accumulator:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE4scan4into11accumulatorAA0C0Vyqd__Gqd___yqd__z_7ElementQztctlF">scan(into:<wbr>accumulator:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Applies an accumulator function over an observable sequence and returns each intermediate result. The specified seed value is used as the initial accumulator value.</p>

<p>For aggregation behavior with no intermediate results, see <code>reduce</code>.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/scan.html">scan operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">scan</span><span class="o">&lt;</span><span class="kt">Seed</span><span class="o">&gt;</span><span class="p">(</span><span class="n">into</span> <span class="nv">seed</span><span class="p">:</span> <span class="kt">Seed</span><span class="p">,</span> <span class="nv">accumulator</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="k">inout</span> <span class="kt">Seed</span><span class="p">,</span> <span class="kt">Element</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Void</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Seed</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>seed</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>The initial accumulator value.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>accumulator</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>An accumulator function to be invoked on each element.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence containing the accumulated values.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE4scan_11accumulatorAA0C0Vyqd__Gqd___qd__qd___7ElementQztctlF"></a>
                    <a name="//apple_ref/swift/Method/scan(_:accumulator:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE4scan_11accumulatorAA0C0Vyqd__Gqd___qd__qd___7ElementQztctlF">scan(_:<wbr>accumulator:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Applies an accumulator function over an observable sequence and returns each intermediate result. The specified seed value is used as the initial accumulator value.</p>

<p>For aggregation behavior with no intermediate results, see <code>reduce</code>.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/scan.html">scan operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">scan</span><span class="o">&lt;</span><span class="kt">Seed</span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">seed</span><span class="p">:</span> <span class="kt">Seed</span><span class="p">,</span> <span class="nv">accumulator</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">Seed</span><span class="p">,</span> <span class="kt">Element</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Seed</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Seed</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>seed</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>The initial accumulator value.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>accumulator</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>An accumulator function to be invoked on each element.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence containing the accumulated values.</p>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <div class="task-name-container">
                <a name="/Start%20with"></a>
                <a name="//apple_ref/swift/Section/Start with" class="dashAnchor"></a>
                <div class="section-name-container">
                  <a class="section-name-link" href="#/Start%20with"></a>
                  <h3 class="section-name"><span>Start with</span>
</h3>
                </div>
              </div>
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE9startWithyAA0C0Vy7ElementQzGAHF"></a>
                    <a name="//apple_ref/swift/Method/startWith(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE9startWithyAA0C0Vy7ElementQzGAHF">startWith(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Prepends a value to an observable sequence.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/startwith.html">startWith operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">startWith</span><span class="p">(</span><span class="n">_</span> <span class="nv">element</span><span class="p">:</span> <span class="kt">Element</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>element</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Element to prepend to the specified sequence.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>The source sequence prepended with the specified values.</p>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <div class="task-name-container">
                <a name="/Take%20and%20Skip%20%7B"></a>
                <a name="//apple_ref/swift/Section/Take and Skip {" class="dashAnchor"></a>
                <div class="section-name-container">
                  <a class="section-name-link" href="#/Take%20and%20Skip%20%7B"></a>
                  <h3 class="section-name"><span>Take and Skip {</span>
</h3>
                </div>
              </div>
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE4take5untilAA0C0Vy7ElementQzGqd___tAaBRd__lF"></a>
                    <a name="//apple_ref/swift/Method/take(until:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE4take5untilAA0C0Vy7ElementQzGqd___tAaBRd__lF">take(until:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns the elements from the source observable sequence until the other observable sequence produces an element.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/takeuntil.html">takeUntil operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">take</span><span class="o">&lt;</span><span class="kt">Source</span><span class="p">:</span> <span class="kt">InfallibleType</span><span class="o">&gt;</span><span class="p">(</span><span class="n">until</span> <span class="nv">other</span><span class="p">:</span> <span class="kt">Source</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>other</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Observable sequence that terminates propagation of elements of the source sequence.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence containing the elements of the source sequence up to the point the other sequence interrupted further propagation.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE4take5untilAA0C0Vy7ElementQzGqd___tAA010ObservableD0Rd__lF"></a>
                    <a name="//apple_ref/swift/Method/take(until:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE4take5untilAA0C0Vy7ElementQzGqd___tAA010ObservableD0Rd__lF">take(until:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns the elements from the source observable sequence until the other observable sequence produces an element.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/takeuntil.html">takeUntil operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">take</span><span class="o">&lt;</span><span class="kt">Source</span><span class="p">:</span> <span class="kt"><a href="../Protocols/ObservableType.html">ObservableType</a></span><span class="o">&gt;</span><span class="p">(</span><span class="n">until</span> <span class="nv">other</span><span class="p">:</span> <span class="kt">Source</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>other</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Observable sequence that terminates propagation of elements of the source sequence.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence containing the elements of the source sequence up to the point the other sequence interrupted further propagation.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE4take5until8behaviorAA0C0Vy7ElementQzGSbAJKc_AA12TakeBehaviorOtF"></a>
                    <a name="//apple_ref/swift/Method/take(until:behavior:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE4take5until8behaviorAA0C0Vy7ElementQzGSbAJKc_AA12TakeBehaviorOtF">take(until:<wbr>behavior:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns elements from an observable sequence until the specified condition is true.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/takeuntil.html">takeUntil operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">take</span><span class="p">(</span><span class="n">until</span> <span class="nv">predicate</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">Element</span><span class="p">)</span> <span class="k">throws</span> <span class="o">-&gt;</span> <span class="kt">Bool</span><span class="p">,</span>
                 <span class="nv">behavior</span><span class="p">:</span> <span class="kt"><a href="../Enums/TakeBehavior.html">TakeBehavior</a></span> <span class="o">=</span> <span class="o">.</span><span class="n">exclusive</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>predicate</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>A function to test each element for a condition.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>behavior</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Whether or not to include the last element matching the predicate. Defaults to <code>exclusive</code>.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence that contains the elements from the input sequence that occur before the element at which the test passes.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE4take5while8behaviorAA0C0Vy7ElementQzGSbAJKc_AA12TakeBehaviorOtF"></a>
                    <a name="//apple_ref/swift/Method/take(while:behavior:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE4take5while8behaviorAA0C0Vy7ElementQzGSbAJKc_AA12TakeBehaviorOtF">take(while:<wbr>behavior:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns elements from an observable sequence as long as a specified condition is true.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/takewhile.html">takeWhile operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">take</span><span class="p">(</span><span class="k">while</span> <span class="nv">predicate</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">Element</span><span class="p">)</span> <span class="k">throws</span> <span class="o">-&gt;</span> <span class="kt">Bool</span><span class="p">,</span>
                 <span class="nv">behavior</span><span class="p">:</span> <span class="kt"><a href="../Enums/TakeBehavior.html">TakeBehavior</a></span> <span class="o">=</span> <span class="o">.</span><span class="n">exclusive</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>predicate</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>A function to test each element for a condition.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE4takeyAA0C0Vy7ElementQzGSiF"></a>
                    <a name="//apple_ref/swift/Method/take(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE4takeyAA0C0Vy7ElementQzGSiF">take(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns a specified number of contiguous elements from the start of an observable sequence.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/take.html">take operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">take</span><span class="p">(</span><span class="n">_</span> <span class="nv">count</span><span class="p">:</span> <span class="kt">Int</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>count</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>The number of elements to return.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence that contains the specified number of elements from the start of the input sequence.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE4take3for9schedulerAA0C0Vy7ElementQzG8Dispatch0I12TimeIntervalO_AA09SchedulerD0_ptF"></a>
                    <a name="//apple_ref/swift/Method/take(for:scheduler:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE4take3for9schedulerAA0C0Vy7ElementQzG8Dispatch0I12TimeIntervalO_AA09SchedulerD0_ptF">take(for:<wbr>scheduler:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Takes elements for the specified duration from the start of the infallible source sequence, using the specified scheduler to run timers.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/take.html">take operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">take</span><span class="p">(</span><span class="k">for</span> <span class="nv">duration</span><span class="p">:</span> <span class="kt"><a href="../Other%20Typealiases.html#/s:7RxSwift0A12TimeIntervala">RxTimeInterval</a></span><span class="p">,</span> <span class="nv">scheduler</span><span class="p">:</span> <span class="kt"><a href="../Protocols/SchedulerType.html">SchedulerType</a></span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>duration</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Duration for taking elements from the start of the sequence.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>scheduler</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Scheduler to run the timer on.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An infallible sequence with the elements taken during the specified duration from the start of the source sequence.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE4skip5whileAA0C0Vy7ElementQzGSbAIKc_tF"></a>
                    <a name="//apple_ref/swift/Method/skip(while:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE4skip5whileAA0C0Vy7ElementQzGSbAIKc_tF">skip(while:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Bypasses elements in an infallible sequence as long as a specified condition is true and then returns the remaining elements.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/skipwhile.html">skipWhile operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">skip</span><span class="p">(</span><span class="k">while</span> <span class="nv">predicate</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">Element</span><span class="p">)</span> <span class="k">throws</span> <span class="o">-&gt;</span> <span class="kt">Bool</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>predicate</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>A function to test each element for a condition.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An infallible sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE4skip5untilAA0C0Vy7ElementQzGqd___tAA010ObservableD0Rd__lF"></a>
                    <a name="//apple_ref/swift/Method/skip(until:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE4skip5untilAA0C0Vy7ElementQzGqd___tAA010ObservableD0Rd__lF">skip(until:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns the elements from the source infallible sequence that are emitted after the other infallible sequence produces an element.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/skipuntil.html">skipUntil operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">skip</span><span class="o">&lt;</span><span class="kt">Source</span><span class="p">:</span> <span class="kt"><a href="../Protocols/ObservableType.html">ObservableType</a></span><span class="o">&gt;</span><span class="p">(</span><span class="n">until</span> <span class="nv">other</span><span class="p">:</span> <span class="kt">Source</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>other</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Infallible sequence that starts propagation of elements of the source sequence.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An infallible sequence containing the elements of the source sequence that are emitted after the other sequence emits an item.</p>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <div class="task-name-container">
                <a name="/Share"></a>
                <a name="//apple_ref/swift/Section/Share" class="dashAnchor"></a>
                <div class="section-name-container">
                  <a class="section-name-link" href="#/Share"></a>
                  <h3 class="section-name"><span>Share</span>
</h3>
                </div>
              </div>
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE5share6replay5scopeAA0C0Vy7ElementQzGSi_AA20SubjectLifetimeScopeOtF"></a>
                    <a name="//apple_ref/swift/Method/share(replay:scope:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE5share6replay5scopeAA0C0Vy7ElementQzGSi_AA20SubjectLifetimeScopeOtF">share(replay:<wbr>scope:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns an observable sequence that <strong>shares a single subscription to the underlying sequence</strong>, and immediately upon subscription replays  elements in buffer.</p>

<p>This operator is equivalent to:</p>

<ul>
<li><code>.whileConnected</code>
<code>
// Each connection will have it&#39;s own subject instance to store replay events.
// Connections will be isolated from each another.
source.multicast(makeSubject: { Replay.create(bufferSize: replay) }).refCount()
</code></li>
<li><code>.forever</code>
<code>
// One subject will store replay events for all connections to source.
// Connections won&#39;t be isolated from each another.
source.multicast(Replay.create(bufferSize: replay)).refCount()
</code></li>
</ul>

<p>It uses optimized versions of the operators for most common operations.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/replay.html">shareReplay operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">share</span><span class="p">(</span><span class="nv">replay</span><span class="p">:</span> <span class="kt">Int</span> <span class="o">=</span> <span class="mi">0</span><span class="p">,</span> <span class="nv">scope</span><span class="p">:</span> <span class="kt"><a href="../Enums/SubjectLifetimeScope.html">SubjectLifetimeScope</a></span> <span class="o">=</span> <span class="o">.</span><span class="n">whileConnected</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>replay</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Maximum element count of the replay buffer.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>scope</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Lifetime scope of sharing subject. For more information see <code><a href="../Enums/SubjectLifetimeScope.html">SubjectLifetimeScope</a></code> enum.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence that contains the elements of a sequence produced by multicasting the source sequence.</p>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <div class="task-name-container">
                <a name="/withUnretained"></a>
                <a name="//apple_ref/swift/Section/withUnretained" class="dashAnchor"></a>
                <div class="section-name-container">
                  <a class="section-name-link" href="#/withUnretained"></a>
                  <h3 class="section-name"><span>withUnretained</span>
</h3>
                </div>
              </div>
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE14withUnretained_14resultSelectorAA0C0Vyqd_0_Gqd___qd_0_qd___7ElementQztctRld__Cr0_lF"></a>
                    <a name="//apple_ref/swift/Method/withUnretained(_:resultSelector:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE14withUnretained_14resultSelectorAA0C0Vyqd_0_Gqd___qd_0_qd___7ElementQztctRld__Cr0_lF">withUnretained(_:<wbr>resultSelector:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Provides an unretained, safe to use (i.e. not implicitly unwrapped), reference to an object along with the events emitted by the sequence.</p>

<p>In the case the provided object cannot be retained successfully, the sequence will complete.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    <p>Be careful when using this operator in a sequence that has a buffer or replay, for example <code>share(replay: 1)</code>, as the sharing buffer will also include the provided object, which could potentially cause a retain cycle.</p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">withUnretained</span><span class="o">&lt;</span><span class="kt">Object</span><span class="p">:</span> <span class="kt">AnyObject</span><span class="p">,</span> <span class="kt">Out</span><span class="o">&gt;</span><span class="p">(</span>
    <span class="n">_</span> <span class="nv">obj</span><span class="p">:</span> <span class="kt">Object</span><span class="p">,</span>
    <span class="nv">resultSelector</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">Object</span><span class="p">,</span> <span class="kt">Element</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Out</span>
<span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Out</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>obj</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>The object to provide an unretained reference on.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>resultSelector</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>A function to combine the unretained referenced on <code>obj</code> and the value of the observable sequence.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence that contains the result of <code>resultSelector</code> being called with an unretained reference on <code>obj</code> and the values of the original sequence.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE14withUnretainedyAA0C0Vyqd___7ElementQztGqd__Rld__ClF"></a>
                    <a name="//apple_ref/swift/Method/withUnretained(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE14withUnretainedyAA0C0Vyqd___7ElementQztGqd__Rld__ClF">withUnretained(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Provides an unretained, safe to use (i.e. not implicitly unwrapped), reference to an object along with the events emitted by the sequence.</p>

<p>In the case the provided object cannot be retained successfully, the sequence will complete.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    <p>Be careful when using this operator in a sequence that has a buffer or replay, for example <code>share(replay: 1)</code>, as the sharing buffer will also include the provided object, which could potentially cause a retain cycle.</p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">withUnretained</span><span class="o">&lt;</span><span class="kt">Object</span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">obj</span><span class="p">:</span> <span class="kt">Object</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="p">(</span><span class="kt">Object</span><span class="p">,</span> <span class="kt">Element</span><span class="p">)</span><span class="o">&gt;</span> <span class="k">where</span> <span class="kt">Object</span> <span class="p">:</span> <span class="kt">AnyObject</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>obj</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>The object to provide an unretained reference on.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence of tuples that contains both an unretained reference on <code>obj</code> and the values of the original sequence.</p>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <div class="task-name-container">
                <a name="/withLatestFrom"></a>
                <a name="//apple_ref/swift/Section/withLatestFrom" class="dashAnchor"></a>
                <div class="section-name-container">
                  <a class="section-name-link" href="#/withLatestFrom"></a>
                  <h3 class="section-name"><span>withLatestFrom</span>
</h3>
                </div>
              </div>
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE14withLatestFrom_14resultSelectorAA0C0Vyqd_0_Gqd___qd_0_7ElementQz_AIQyd__tKctAaBRd__r0_lF"></a>
                    <a name="//apple_ref/swift/Method/withLatestFrom(_:resultSelector:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE14withLatestFrom_14resultSelectorAA0C0Vyqd_0_Gqd___qd_0_7ElementQz_AIQyd__tKctAaBRd__r0_lF">withLatestFrom(_:<wbr>resultSelector:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Merges two observable sequences into one observable sequence by combining each element from self with the latest element from the second source, if any.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <a href="http://reactivex.io/documentation/operators/combinelatest.html">combineLatest operator on reactivex.io</a>

</div><div class="aside aside-note">
    <p class="aside-title">Note</p>
    <p>Elements emitted by self before the second source has emitted any values will be omitted.</p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">withLatestFrom</span><span class="o">&lt;</span><span class="kt">Source</span><span class="p">,</span> <span class="kt">ResultType</span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">second</span><span class="p">:</span> <span class="kt">Source</span><span class="p">,</span> <span class="nv">resultSelector</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">Element</span><span class="p">,</span> <span class="kt">Source</span><span class="o">.</span><span class="kt">Element</span><span class="p">)</span> <span class="k">throws</span> <span class="o">-&gt;</span> <span class="kt">ResultType</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">ResultType</span><span class="o">&gt;</span> <span class="k">where</span> <span class="kt">Source</span> <span class="p">:</span> <span class="kt">InfallibleType</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>second</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Second observable source.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>resultSelector</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Function to invoke for each element from the self combined with the latest element from the second source, if any.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence containing the result of combining each element of the self  with the latest element from the second source, if any, using the specified result selector function.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE14withLatestFromyAA0C0Vy7ElementQyd__Gqd__AaBRd__lF"></a>
                    <a name="//apple_ref/swift/Method/withLatestFrom(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE14withLatestFromyAA0C0Vy7ElementQyd__Gqd__AaBRd__lF">withLatestFrom(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Merges two observable sequences into one observable sequence by using latest element from the second sequence every time when <code>self</code> emits an element.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <a href="http://reactivex.io/documentation/operators/combinelatest.html">combineLatest operator on reactivex.io</a>

</div><div class="aside aside-note">
    <p class="aside-title">Note</p>
    <p>Elements emitted by self before the second source has emitted any values will be omitted.</p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">withLatestFrom</span><span class="o">&lt;</span><span class="kt">Source</span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">second</span><span class="p">:</span> <span class="kt">Source</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Source</span><span class="o">.</span><span class="kt">Element</span><span class="o">&gt;</span> <span class="k">where</span> <span class="kt">Source</span> <span class="p">:</span> <span class="kt">InfallibleType</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>second</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Second observable source.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence containing the result of combining each element of the self  with the latest element from the second source, if any, using the specified result selector function.</p>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <div class="task-name-container">
                <a name="/Zip"></a>
                <a name="//apple_ref/swift/Section/Zip" class="dashAnchor"></a>
                <div class="section-name-container">
                  <a class="section-name-link" href="#/Zip"></a>
                  <h3 class="section-name"><span>Zip</span>
</h3>
                </div>
              </div>
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE3zip__14resultSelectorAA0C0Vy7ElementQzGAGyqd__G_AGyqd_0_GAIqd___qd_0_tKctr0_lFZ"></a>
                    <a name="//apple_ref/swift/Method/zip(_:_:resultSelector:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE3zip__14resultSelectorAA0C0Vy7ElementQzGAGyqd__G_AGyqd_0_GAIqd___qd_0_tKctr0_lFZ">zip(_:<wbr>_:<wbr>resultSelector:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/zip.html">zip operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="n">zip</span><span class="o">&lt;</span><span class="kt">E1</span><span class="p">,</span> <span class="kt">E2</span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">source1</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E1</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source2</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E2</span><span class="o">&gt;</span><span class="p">,</span> <span class="nv">resultSelector</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">E1</span><span class="p">,</span> <span class="kt">E2</span><span class="p">)</span> <span class="k">throws</span> <span class="o">-&gt;</span> <span class="kt">Element</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>resultSelector</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Function to invoke for each series of elements at corresponding indexes in the sources.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence containing the result of combining elements of the sources using the specified result selector function.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE3zip___14resultSelectorAA0C0Vy7ElementQzGAGyqd__G_AGyqd_0_GAGyqd_1_GAIqd___qd_0_qd_1_tKctr1_lFZ"></a>
                    <a name="//apple_ref/swift/Method/zip(_:_:_:resultSelector:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE3zip___14resultSelectorAA0C0Vy7ElementQzGAGyqd__G_AGyqd_0_GAGyqd_1_GAIqd___qd_0_qd_1_tKctr1_lFZ">zip(_:<wbr>_:<wbr>_:<wbr>resultSelector:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/zip.html">zip operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="n">zip</span><span class="o">&lt;</span><span class="kt">E1</span><span class="p">,</span> <span class="kt">E2</span><span class="p">,</span> <span class="kt">E3</span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">source1</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E1</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source2</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E2</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source3</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E3</span><span class="o">&gt;</span><span class="p">,</span> <span class="nv">resultSelector</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">E1</span><span class="p">,</span> <span class="kt">E2</span><span class="p">,</span> <span class="kt">E3</span><span class="p">)</span> <span class="k">throws</span> <span class="o">-&gt;</span> <span class="kt">Element</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>resultSelector</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Function to invoke for each series of elements at corresponding indexes in the sources.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence containing the result of combining elements of the sources using the specified result selector function.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE3zip____14resultSelectorAA0C0Vy7ElementQzGAGyqd__G_AGyqd_0_GAGyqd_1_GAGyqd_2_GAIqd___qd_0_qd_1_qd_2_tKctr2_lFZ"></a>
                    <a name="//apple_ref/swift/Method/zip(_:_:_:_:resultSelector:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE3zip____14resultSelectorAA0C0Vy7ElementQzGAGyqd__G_AGyqd_0_GAGyqd_1_GAGyqd_2_GAIqd___qd_0_qd_1_qd_2_tKctr2_lFZ">zip(_:<wbr>_:<wbr>_:<wbr>_:<wbr>resultSelector:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/zip.html">zip operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="n">zip</span><span class="o">&lt;</span><span class="kt">E1</span><span class="p">,</span> <span class="kt">E2</span><span class="p">,</span> <span class="kt">E3</span><span class="p">,</span> <span class="kt">E4</span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">source1</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E1</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source2</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E2</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source3</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E3</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source4</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E4</span><span class="o">&gt;</span><span class="p">,</span> <span class="nv">resultSelector</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">E1</span><span class="p">,</span> <span class="kt">E2</span><span class="p">,</span> <span class="kt">E3</span><span class="p">,</span> <span class="kt">E4</span><span class="p">)</span> <span class="k">throws</span> <span class="o">-&gt;</span> <span class="kt">Element</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>resultSelector</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Function to invoke for each series of elements at corresponding indexes in the sources.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence containing the result of combining elements of the sources using the specified result selector function.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE3zip_____14resultSelectorAA0C0Vy7ElementQzGAGyqd__G_AGyqd_0_GAGyqd_1_GAGyqd_2_GAGyqd_3_GAIqd___qd_0_qd_1_qd_2_qd_3_tKctr3_lFZ"></a>
                    <a name="//apple_ref/swift/Method/zip(_:_:_:_:_:resultSelector:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE3zip_____14resultSelectorAA0C0Vy7ElementQzGAGyqd__G_AGyqd_0_GAGyqd_1_GAGyqd_2_GAGyqd_3_GAIqd___qd_0_qd_1_qd_2_qd_3_tKctr3_lFZ">zip(_:<wbr>_:<wbr>_:<wbr>_:<wbr>_:<wbr>resultSelector:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/zip.html">zip operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="n">zip</span><span class="o">&lt;</span><span class="kt">E1</span><span class="p">,</span> <span class="kt">E2</span><span class="p">,</span> <span class="kt">E3</span><span class="p">,</span> <span class="kt">E4</span><span class="p">,</span> <span class="kt">E5</span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">source1</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E1</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source2</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E2</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source3</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E3</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source4</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E4</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source5</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E5</span><span class="o">&gt;</span><span class="p">,</span> <span class="nv">resultSelector</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">E1</span><span class="p">,</span> <span class="kt">E2</span><span class="p">,</span> <span class="kt">E3</span><span class="p">,</span> <span class="kt">E4</span><span class="p">,</span> <span class="kt">E5</span><span class="p">)</span> <span class="k">throws</span> <span class="o">-&gt;</span> <span class="kt">Element</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>resultSelector</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Function to invoke for each series of elements at corresponding indexes in the sources.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence containing the result of combining elements of the sources using the specified result selector function.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE3zip______14resultSelectorAA0C0Vy7ElementQzGAGyqd__G_AGyqd_0_GAGyqd_1_GAGyqd_2_GAGyqd_3_GAGyqd_4_GAIqd___qd_0_qd_1_qd_2_qd_3_qd_4_tKctr4_lFZ"></a>
                    <a name="//apple_ref/swift/Method/zip(_:_:_:_:_:_:resultSelector:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE3zip______14resultSelectorAA0C0Vy7ElementQzGAGyqd__G_AGyqd_0_GAGyqd_1_GAGyqd_2_GAGyqd_3_GAGyqd_4_GAIqd___qd_0_qd_1_qd_2_qd_3_qd_4_tKctr4_lFZ">zip(_:<wbr>_:<wbr>_:<wbr>_:<wbr>_:<wbr>_:<wbr>resultSelector:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/zip.html">zip operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="n">zip</span><span class="o">&lt;</span><span class="kt">E1</span><span class="p">,</span> <span class="kt">E2</span><span class="p">,</span> <span class="kt">E3</span><span class="p">,</span> <span class="kt">E4</span><span class="p">,</span> <span class="kt">E5</span><span class="p">,</span> <span class="kt">E6</span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">source1</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E1</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source2</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E2</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source3</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E3</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source4</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E4</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source5</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E5</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source6</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E6</span><span class="o">&gt;</span><span class="p">,</span> <span class="nv">resultSelector</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">E1</span><span class="p">,</span> <span class="kt">E2</span><span class="p">,</span> <span class="kt">E3</span><span class="p">,</span> <span class="kt">E4</span><span class="p">,</span> <span class="kt">E5</span><span class="p">,</span> <span class="kt">E6</span><span class="p">)</span> <span class="k">throws</span> <span class="o">-&gt;</span> <span class="kt">Element</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>resultSelector</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Function to invoke for each series of elements at corresponding indexes in the sources.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence containing the result of combining elements of the sources using the specified result selector function.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE3zip_______14resultSelectorAA0C0Vy7ElementQzGAGyqd__G_AGyqd_0_GAGyqd_1_GAGyqd_2_GAGyqd_3_GAGyqd_4_GAGyqd_5_GAIqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_tKctr5_lFZ"></a>
                    <a name="//apple_ref/swift/Method/zip(_:_:_:_:_:_:_:resultSelector:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE3zip_______14resultSelectorAA0C0Vy7ElementQzGAGyqd__G_AGyqd_0_GAGyqd_1_GAGyqd_2_GAGyqd_3_GAGyqd_4_GAGyqd_5_GAIqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_tKctr5_lFZ">zip(_:<wbr>_:<wbr>_:<wbr>_:<wbr>_:<wbr>_:<wbr>_:<wbr>resultSelector:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/zip.html">zip operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="n">zip</span><span class="o">&lt;</span><span class="kt">E1</span><span class="p">,</span> <span class="kt">E2</span><span class="p">,</span> <span class="kt">E3</span><span class="p">,</span> <span class="kt">E4</span><span class="p">,</span> <span class="kt">E5</span><span class="p">,</span> <span class="kt">E6</span><span class="p">,</span> <span class="kt">E7</span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">source1</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E1</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source2</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E2</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source3</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E3</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source4</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E4</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source5</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E5</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source6</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E6</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source7</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E7</span><span class="o">&gt;</span><span class="p">,</span> <span class="nv">resultSelector</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">E1</span><span class="p">,</span> <span class="kt">E2</span><span class="p">,</span> <span class="kt">E3</span><span class="p">,</span> <span class="kt">E4</span><span class="p">,</span> <span class="kt">E5</span><span class="p">,</span> <span class="kt">E6</span><span class="p">,</span> <span class="kt">E7</span><span class="p">)</span> <span class="k">throws</span> <span class="o">-&gt;</span> <span class="kt">Element</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>resultSelector</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Function to invoke for each series of elements at corresponding indexes in the sources.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence containing the result of combining elements of the sources using the specified result selector function.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE3zip________14resultSelectorAA0C0Vy7ElementQzGAGyqd__G_AGyqd_0_GAGyqd_1_GAGyqd_2_GAGyqd_3_GAGyqd_4_GAGyqd_5_GAGyqd_6_GAIqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_qd_6_tKctr6_lFZ"></a>
                    <a name="//apple_ref/swift/Method/zip(_:_:_:_:_:_:_:_:resultSelector:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE3zip________14resultSelectorAA0C0Vy7ElementQzGAGyqd__G_AGyqd_0_GAGyqd_1_GAGyqd_2_GAGyqd_3_GAGyqd_4_GAGyqd_5_GAGyqd_6_GAIqd___qd_0_qd_1_qd_2_qd_3_qd_4_qd_5_qd_6_tKctr6_lFZ">zip(_:<wbr>_:<wbr>_:<wbr>_:<wbr>_:<wbr>_:<wbr>_:<wbr>_:<wbr>resultSelector:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/zip.html">zip operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="kd">func</span> <span class="n">zip</span><span class="o">&lt;</span><span class="kt">E1</span><span class="p">,</span> <span class="kt">E2</span><span class="p">,</span> <span class="kt">E3</span><span class="p">,</span> <span class="kt">E4</span><span class="p">,</span> <span class="kt">E5</span><span class="p">,</span> <span class="kt">E6</span><span class="p">,</span> <span class="kt">E7</span><span class="p">,</span> <span class="kt">E8</span><span class="o">&gt;</span><span class="p">(</span><span class="n">_</span> <span class="nv">source1</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E1</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source2</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E2</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source3</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E3</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source4</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E4</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source5</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E5</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source6</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E6</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source7</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E7</span><span class="o">&gt;</span><span class="p">,</span> <span class="n">_</span> <span class="nv">source8</span><span class="p">:</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">E8</span><span class="o">&gt;</span><span class="p">,</span> <span class="nv">resultSelector</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt">E1</span><span class="p">,</span> <span class="kt">E2</span><span class="p">,</span> <span class="kt">E3</span><span class="p">,</span> <span class="kt">E4</span><span class="p">,</span> <span class="kt">E5</span><span class="p">,</span> <span class="kt">E6</span><span class="p">,</span> <span class="kt">E7</span><span class="p">,</span> <span class="kt">E8</span><span class="p">)</span> <span class="k">throws</span> <span class="o">-&gt;</span> <span class="kt">Element</span><span class="p">)</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>resultSelector</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Function to invoke for each series of elements at corresponding indexes in the sources.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence containing the result of combining elements of the sources using the specified result selector function.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE9subscribe4with6onNext0G9Completed0G8DisposedAA10Disposable_pqd___yqd___7ElementQztcSgyqd__cSgAMtRld__ClF"></a>
                    <a name="//apple_ref/swift/Method/subscribe(with:onNext:onCompleted:onDisposed:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE9subscribe4with6onNext0G9Completed0G8DisposedAA10Disposable_pqd___yqd___7ElementQztcSgyqd__cSgAMtRld__ClF">subscribe(with:<wbr>onNext:<wbr>onCompleted:<wbr>onDisposed:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Subscribes an element handler, a completion handler and disposed handler to an observable sequence.</p>

<p>Error callback is not exposed because <code><a href="../Structs/Infallible.html">Infallible</a></code> can&rsquo;t error out.</p>

<p>Also, take in an object and provide an unretained, safe to use (i.e. not implicitly unwrapped), reference to it along with the events emitted by the sequence.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    <p>If <code>object</code> can&rsquo;t be retained, none of the other closures will be invoked.</p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="n">subscribe</span><span class="o">&lt;</span><span class="kt">Object</span><span class="p">:</span> <span class="kt">AnyObject</span><span class="o">&gt;</span><span class="p">(</span>
    <span class="n">with</span> <span class="nv">object</span><span class="p">:</span> <span class="kt">Object</span><span class="p">,</span>
    <span class="nv">onNext</span><span class="p">:</span> <span class="p">((</span><span class="kt">Object</span><span class="p">,</span> <span class="kt">Element</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Void</span><span class="p">)?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span>
    <span class="nv">onCompleted</span><span class="p">:</span> <span class="p">((</span><span class="kt">Object</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Void</span><span class="p">)?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span>
    <span class="nv">onDisposed</span><span class="p">:</span> <span class="p">((</span><span class="kt">Object</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Void</span><span class="p">)?</span> <span class="o">=</span> <span class="kc">nil</span>
<span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Protocols/Disposable.html">Disposable</a></span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>object</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>The object to provide an unretained reference on.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>onNext</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Action to invoke for each element in the observable sequence.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>onCompleted</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Action to invoke upon graceful termination of the observable sequence.
gracefully completed, errored, or if the generation is canceled by disposing subscription)</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>onDisposed</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Action to invoke upon any type of termination of sequence (if the sequence has
gracefully completed, errored, or if the generation is canceled by disposing subscription)</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Subscription object used to unsubscribe from the observable sequence.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE9subscribe6onNext0F9Completed0F8DisposedAA10Disposable_py7ElementQzcSg_yycSgALtF"></a>
                    <a name="//apple_ref/swift/Method/subscribe(onNext:onCompleted:onDisposed:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE9subscribe6onNext0F9Completed0F8DisposedAA10Disposable_py7ElementQzcSg_yycSgALtF">subscribe(onNext:<wbr>onCompleted:<wbr>onDisposed:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Subscribes an element handler, a completion handler and disposed handler to an observable sequence.</p>

<p>Error callback is not exposed because <code><a href="../Structs/Infallible.html">Infallible</a></code> can&rsquo;t error out.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">subscribe</span><span class="p">(</span><span class="nv">onNext</span><span class="p">:</span> <span class="p">((</span><span class="kt">Element</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Void</span><span class="p">)?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span>
                      <span class="nv">onCompleted</span><span class="p">:</span> <span class="p">(()</span> <span class="o">-&gt;</span> <span class="kt">Void</span><span class="p">)?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span>
                      <span class="nv">onDisposed</span><span class="p">:</span> <span class="p">(()</span> <span class="o">-&gt;</span> <span class="kt">Void</span><span class="p">)?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Protocols/Disposable.html">Disposable</a></span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>onNext</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Action to invoke for each element in the observable sequence.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>onCompleted</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Action to invoke upon graceful termination of the observable sequence.
gracefully completed, errored, or if the generation is canceled by disposing subscription)</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>onDisposed</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Action to invoke upon any type of termination of sequence (if the sequence has
gracefully completed, errored, or if the generation is canceled by disposing subscription)</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Subscription object used to unsubscribe from the observable sequence.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAAE9subscribeyAA10Disposable_pyAA5EventOy7ElementQzGcF"></a>
                    <a name="//apple_ref/swift/Method/subscribe(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAAE9subscribeyAA10Disposable_pyAA5EventOy7ElementQzGcF">subscribe(_:<wbr>)</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Subscribes an event handler to an observable sequence.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">subscribe</span><span class="p">(</span><span class="n">_</span> <span class="nv">on</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="p">(</span><span class="kt"><a href="../Enums/Event.html">Event</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Void</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt"><a href="../Protocols/Disposable.html">Disposable</a></span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>on</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Action to invoke for each event in the observable sequence.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Subscription object used to unsubscribe from the observable sequence.</p>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <div class="task-name-container">
                <a name="/Available%20where%20%60Element%60%3A%20%60Comparable%60"></a>
                <a name="//apple_ref/swift/Section/Available where `Element`: `Comparable`" class="dashAnchor"></a>
                <div class="section-name-container">
                  <a class="section-name-link" href="#/Available%20where%20%60Element%60%3A%20%60Comparable%60"></a>
                  <h3 class="section-name"><span>Available where <code>Element</code>: <code>Comparable</code></span>
</h3>
                </div>
              </div>
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:7RxSwift14InfallibleTypePAASL7ElementRpzrlE20distinctUntilChangedAA0C0VyAEGyF"></a>
                    <a name="//apple_ref/swift/Method/distinctUntilChanged()" class="dashAnchor"></a>
                    <a class="token" href="#/s:7RxSwift14InfallibleTypePAASL7ElementRpzrlE20distinctUntilChangedAA0C0VyAEGyF">distinctUntilChanged()</a>
                    </code>
                      <span class="declaration-note">
                        Extension method
                      </span>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns an observable sequence that contains only distinct contiguous elements according to equality operator.</p>
<div class="aside aside-seealso">
    <p class="aside-title">Seealso</p>
    <p><a href="http://reactivex.io/documentation/operators/distinct.html">distinct operator on reactivex.io</a></p>

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">distinctUntilChanged</span><span class="p">()</span>
    <span class="o">-&gt;</span> <span class="kt"><a href="../Structs/Infallible.html">Infallible</a></span><span class="o">&lt;</span><span class="kt">Element</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>An observable sequence only containing the distinct contiguous elements, based on equality operator, from the source sequence.</p>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </div>
        </section>

      </article>
    </div>
    <section class="footer">
      <p>&copy; 2022 <a class="link" href="https://github.com/ReactiveX/RxSwift" target="_blank" rel="external noopener">Krunoslav Zaher</a>. All rights reserved. (Last updated: 2022-01-08)</p>
      <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.1</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
    </section>
  </body>
</html>
